package com.laomou.password.ui;

import com.laomou.password.db.IDBOutlet;

import android.text.TextUtils;

public class Password {
    @IDBOutlet(id = "type")
    public String pkg;
    @IDBOutlet(id = "account")
    public String account;
    @IDBOutlet(id = "password")
    public String password;

    public boolean isEmpty() {
        if (TextUtils.isEmpty(pkg) || TextUtils.isEmpty(account) || TextUtils.isEmpty(password)) {
            return true;
        }
        return false;
    }

    @Override
    public String toString() {
        return pkg + "$" +account;
    }
}